package com.xj.common.bussiness.userInfo.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hmemb
 * @since 2018-02-27
 */
@TableName("tb_user_info")
public class TbUserInfo extends Model<TbUserInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 设备申请人姓名(个人或企业名称)
     */
	@TableField(value="register_name")
	private String registerName;
    /**
     * 申请单位（0个人，1企业）
     */
	@TableField(value="user_type")
	private String userType;
    /**
     * 申请人配偶姓名/企业法人姓名
     */
	@TableField(value="spouse_name")
	private String spouseName;
    /**
     * 申请人配偶身份证号/企业法人身份证号
     */
	@TableField(value="spouse_identification")
	private String spouseIdentification;
    /**
     * 申请人配偶电话号码/企业法人电话号
     */
	@TableField(value="spouse_phone")
	private String spousePhone;
    /**
     * 有效通信地址
     */
	private String address;
    /**
     * 申请人电话
     */
	@TableField(value="register_phone")
	private String registerPhone;
    /**
     * 申请人身份证号/企业代码
     */
	private String identification;

	/**
	 * 用户密码
	 */
	private String password;

	/**
	 * 登录此用户的微信用户
	 */
	@TableField(value="wx_user")
	private String wxUser;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRegisterName() {
		return registerName;
	}

	public void setRegisterName(String registerName) {
		this.registerName = registerName;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}


	public String getSpouseName() {
		return spouseName;
	}

	public void setSpouseName(String spouseName) {
		this.spouseName = spouseName;
	}

	public String getSpouseIdentification() {
		return spouseIdentification;
	}

	public void setSpouseIdentification(String spouseIdentification) {
		this.spouseIdentification = spouseIdentification;
	}

	public String getSpousePhone() {
		return spousePhone;
	}

	public void setSpousePhone(String spousePhone) {
		this.spousePhone = spousePhone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRegisterPhone() {
		return registerPhone;
	}

	public void setRegisterPhone(String registerPhone) {
		this.registerPhone = registerPhone;
	}

	public String getIdentification() {
		return identification;
	}

	public void setIdentification(String identification) {
		this.identification = identification;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getWxUser() {
		return wxUser;
	}

	public void setWxUser(String wxUser) {
		this.wxUser = wxUser;
	}
}
